<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="google-site-verification" content="5piOCAF6yCH4Jt0a6UbqTFuFsW8sLxEaHn8WZiIqRO4" />
<meta name="keywords" content="Austin homes for sale, Austin home search, Austin real estate, Austin home listings, Austin MLS, Austin Realtor, Austin Texas Homes For Sale, Austin TX Homes for Sale, Austin Texas real estate, Austin TX real estate,Austin foreclosures"/>
<script type="text/javascript" language="javascript" src="/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" language="javascript" src="/js/jquery.address-1.3.2.min.js?crawlable=true"></script>
<script type="text/javascript" language="javascript" src="/js/jquery-bubble.js"></script>
<script type="text/javascript" language="javascript" src="/js/stringhelper.js"></script>
<script type="text/javascript" language="javascript" src="/js/staticContent.js"></script>
<script type="text/javascript" language="javascript" src="/js/scrollable.js"></script>
<script type="text/javascript" language="javascript" src="/js/map.js"></script>
<script type="text/javascript" language="javascript" src="/js/globals/serverProps.js"></script>
<script type="text/javascript" language="javascript" src="/js/globals/pathmapping.js"></script>
<script type="text/javascript" language="javascript" src="/js/login.js"></script>
<script type="text/javascript" language="javascript" src="/js/cookies.js"></script>
<script type="text/javascript" language="javascript" src="/js/jquery.fancybox-1.3.4.js"></script>
<script type="text/javascript" language="javascript" src="/js/jquery.easing-1.3.pack.js"></script>
<script type="text/javascript" language="javascript" src="/js/jquery-ui-effects.js"></script>
<script type="text/javascript" language="javascript" src="/js/hoverintent.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=.32, maximum-scale=1" />
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<link rel="stylesheet" type="text/css" href="/css/main.css" />
<link rel="stylesheet" type="text/css" href="/css/jquery.fancybox-1.3.4.css" />

<script>

    	$.address.init(function() {
    		// Initializes the plugin
    		$('ul li').not('.noaddress').find('a').address();
    		}).change(function(event) {
    			
    			sendAddress(event);
    	});
  
    	function sendAddress(event)
    	{
    		var value = event.path;
			var path;
			if(value.indexOf("/profile")!=-1)
			{
				path = Path.pathMap[value.substring(0,8)];
				doPost(path,{userProfile:value.substring(9,value.length)});
			}
			else
			{
				path = Path.pathMap[value];
			
    			//select the proper nav link
    			setClassSelected(value);
    			
    			if(event.queryString)
    			{
    				var queryData = {};
    				$(event.queryString.split('&')).each(function(){
    					var name = this.split('=')[0];
    					var val = this.split('=')[1];
    					queryData[name] = val;
    				});
    				doPost(path,queryData);	
    			}
    			else
    				doPost(path);
			}
    	}
    	
    	function doPost(path,submitData,elem)
    	{
    		$.post(ServerProperties.appURL+"/ajaxCall.jsp?do="+encodeURIComponent(path),submitData,function(data, textStatus, XMLHttpRequest) {
				if(data)
				{
					handler(data,elem);
				}
			});
    	
	    	// Handles response
			var handler = function(data,elem) {
					if(data) {
						if(data.user)
							Login.setLoggedInHeader(data.user);
						else if(data.notloggedin)
							Login.removeLoggedInHeader();
						if(data.htmlSelector)
						{
							if(data.fade)
							{
								$(data.htmlSelector).html(data.htmlValue);
								$('#homeWorkspace .scrollable').scrollable({touch:false});
							}
							else
							{
							    $(data.htmlSelector).html(data.htmlValue);
								if(data.numobjects)
								{
									if(data.numobjects.total<1)
									{
										$('#noobjectsfound').show();
										$('#displaynumobjects').css('display','none');
									}
									else
									{
										$('#noobjectsfound').hide();
										$('#displaynumobjects').css('display','inline');
										$('#start').html(1);
										$('#end').html(data.numobjects.end);
										$('#total').html(data.numobjects.total);
										$('#agentWorkspace .verticalscroll').data('scrollable').seekTo(0);
										if(data.objectid)
											doPost(data.postcall,{id:data.objectid});
									}
								}
							}
						}
						else if(data.HOME)
						{
	    					$('#workspace').hide().html(data.HOME).show().find('.scrollable').scrollable({touch:false});
	    					$('#homeWorkspaceWrapper .action a,#action a').hover(function(){if(!$(this).hasClass('disabled')) $(this).addClass('hover');},function(){$(this).removeClass('hover');}).click(function(){if($(this).hasClass('disabled')) $(this).removeClass('hover');});
						}
						else if(data.login)
						{
							var bubble = $('#main').data('bubble')
							bubble.setBody(data.login);
							bubble.setAutoClose(false);
						}
						else if(data.article) {
							var articlebubble = $('#main').data('bubble');
							articlebubble.setTitle(data.article.title);
							articlebubble.setSubheader('<div>'+StringHelper.striphtml((data.article.author?data.article.author+' - ':'')+data.article.source)+'</div><div>'+data.article.publish_date.substring(0,17)+'</div><a target=\"_new\" href=\"'+data.article.url+'\">Read Full Article</a>');
							articlebubble.setBody(data.article.summary);
							articlebubble.setFooter('<b>&nbsp;</b><a class=\"prev\" onclick=\"doPost(\'feeds.Feedzilla\',{prev:\'1\'});\"> &#x25B2; prev</a><span style=\"padding:20px;\">&nbsp;</span><a class=\"next\" onclick=\"doPost(\'feeds.Feedzilla\',{next:\'1\'});\">next &#x25BC;</a>');
							$('.footerWrapper .footer a').hover(function(){$(this).addClass('hover');},function(){$(this).removeClass('hover');});
	    				}
						else if(data.map)
						{
							$('#workspace').html(data.map);
							$('#main').data('bubble').addPopUpItems('button#saveSearch');
							$('.sidepanel').height(Math.max($(window).height()-180,440));
							MapJS.initializeMap(data.mapjs);
						}
						else if(data.searchresults)
						{
							$('#list_view').html(data.searchresults);
	    					$('#action a').hover(function(){if(!$(this).hasClass('disabled')) $(this).addClass('hover');},function(){$(this).removeClass('hover');});

							if(data.mapresults)
							{
								if(data.mapresults.length>0) {
									MapJS.applyMapResults(data.mapresults);
									$(MapJS.markersArray).each(function() {
										var markerObj = this;
										google.maps.event.addListener(this.marker,"click", function(){ 
										   doPost('reports.MapReport',{'zillowID':markerObj.id},this);
										});
									});
									
								}
								else
									alert('Your search returned no listings');
							}
						}
						else if(data.listingMapPopup)
						{
							MapJS.getInfoWindow().setContent(data.listingMapPopup);
							MapJS.getInfoWindow().open(MapJS.getMap(),elem);
							$('#runScript').html(data.runScript);
						}
						else if(data.propManager)
						{
							$('#workspace').html(data.propManager);
							$('.sidepanel ul li').click(function() {$(this).find('ul').slideToggle();}).hover(function(){$(this).addClass('hover');},function(){$(this).removeClass('hover');});
						}
						else if(data.savesearch)
						{
							var savesearchbubble = $('#main').data('bubble');
							savesearchbubble.setAutoClose(false);
							savesearchbubble.resize(240,240);
							savesearchbubble.setBody(data.savesearch);
						}
						else if(data.createacct)
						{
							if(data.errors)
							{
								$(data.errors).each(function() {
									var fieldElem = $('#'+this.fieldname);
									fieldElem.find('input').css('border','1px solid red');
									fieldElem.find('.errorText').html(this.error);
								});
							}
							else if(data.createacct.redirect)
							{
								doPost(Path.pathMap[data.createacct.redirect]);
							}
							else
							{
								doPost('home.Home');
							}
						}
						else if(data.submitlogin)
						{
							if(data.errors)
							{
								$(data.errors).each(function() {
									var fieldElem = $('#bubble #'+this.fieldname);
									fieldElem.find('input').css('border','1px solid red');
									fieldElem.find('.errorText').html(this.error);
								});
							}
							else if(data.submitlogin.redirect)
							{
								var savesearchbubble = $('#main').data('bubble');
								savesearchbubble.setBody(data.submitlogin.redirect);
							}
							else
							{
								$('#main').data('bubble').close();
								Login.setLoggedInHeader(data.user);
								if(data.user.usertype=='REALTOR')
									$.address.value('/pages');
							}
							
						}
						else if(data.signedout) 
						{
							location.href='/';
						}
						
					}
			};
    	}
    	
    	function setClassSelected(value)
    	{
    		$('ul li a').each(function() {
				if($(this).attr('href')== value || $(this).attr('selectedClass')==value ) {
					$(this).parent().addClass('selected');
				} else {
					$(this).parent().removeClass('selected');
				}
			});
    	}
</script>
<script>
$(document).ready(function() {
	$('#main').bubble({onOpen:
		function(){var apiBubble = $('#main').data('bubble');
		if($(this).find('a').attr('id')=='login' || $(this).attr('id')=='signupnowlink')
			apiBubble.resize(240,188); 
		else if($(this).hasClass('about')) 
			apiBubble.resize(300,250); 
		else apiBubble.normalSize();
	},onClose:
		function(){
			var api = $('#main').data('bubble');
			api.reset();
			api.setAutoClose(true);
			$('.toolbar ul li').removeClass('selected');
		},autoclose:true,
		popupItemSelector:$(".toolbar .hasbubble,#footer a")
	});
	$('.toolbar ul li').hover(function(){$(this).addClass('hover');},function(){$(this).removeClass('hover');});
	$(window).resize(function(event) {$('#main').data('bubble').close();$('#map_canvas,.sidepanel').each(function(){if($('#map_canvas').css('display')!='none') $(this).height(Math.max($(window).height()-180,440)); }); 
		});
	$('.toolbar ul li a').click(function(){$('#main').data('bubble').close();});
});

function totalHeight(wnd) {
	return wnd.height()+wnd.scrollTop();
}
</script>
<script type="text/javascript">

  function doPostWithInputs(path,inputWrapperSelector)
  {
	  var fieldvalues = [];
	  $(inputWrapperSelector).each(function() {
		  var elem = $(this);
		 fieldvalues.push(elem.attr('name')+':'+elem.val().replace(/:/g,''));
	  });
	 doPost(path,{'fields':fieldvalues.join(',')});
  }
  
  function doPostWithTypedInputs(path,inputMap)
  {
	 var allInputs = {};
	 for (var key in inputMap)
	 {
		 if(inputMap.hasOwnProperty(key)) {
			 var fieldvalues = [];
			 $(inputMap[key]).each(function() {
				var elem = $(this);
				fieldvalues.push(elem.attr('name')+':'+elem.val().replace(/:/g,''));
			 });
			 allInputs[key] = fieldvalues.join(',');
		 }
	 }
	 doPost(path,allInputs);
  }
  
  function submitAcct() {
	  doPostWithInputs('user.CreateAcct','input');
  }
  function toggleSidePanel(elem) {
		var slidepx = parseInt($('div#mainContent').css('marginLeft'),10);
		if(slidepx <11)
		{
			$(elem).removeClass('closed').html('hide');	
			slidepx=200;
		}
		else
		{
			$(elem).addClass('closed').html('show');
			slidepx=-20;
		}
		$('div#mainContent').animate({marginLeft:slidepx}, {duration:'fast'});
	};
	
	
</script>
<title>Austin Home Search | Listings Connection</title>
</head>
<body>
<div id="main">
<div id="header"><h1>Listings Connection</h1></div>
<!--  top navigation -->
<div class="toolbar">
<ul class="nav">

<!--  Home -->
<li><a id="home" href="/home" class="selected">Home</a></li>

<!-- Search -->
<li><a id="search" href="/map">Property Search</a></li>

<!-- Tools 
<li><a id="tools" href="javascript:">Tools</a>
<ul><li><a href="/myproperties" >Property Management</a></li><li><a href="/reports" >Reports</a></li><li><a href="/marketTrends" >Market Trends</a></li><li><a id="calculators" >Calculators</a></li></ul></li>
-->

<!-- Resources -->
<li><a id="resources"  href="/agents">Agents</a>
<ul style="width:160px;"><li><a href="/agents" rel="/agents">Realtors</a></li><li><a href="/serviceproviders" >Service Providers</a></li></ul></li>

<!-- <li class="hasbubble noaddress"><a id="headlines" onclick="doPost('feeds.Feedzilla');return false;">Headlines</a></li> -->

<!-- Login -->
<li class="hasbubble noaddress notloggedin"><a id="login" selectedClass="login" onclick="setClassSelected('login');doPost('user.Login');return false;" >Sign In</a></li>

<!-- settings/sign out -->
<li class="usersettings noaddress" ><a id="settings"  href="javascript:"></a>
<ul style="width:120px;"><li class="messages"><a href="/messages" >Messages</a></li><li class="settings"><a href="/settings" >My Account</a></li><li class="noaddress signout"><a onclick="doPost('user.SignOut');return false;" >Sign Out</a></li></ul></li>
<!-- settings/sign out -->
<li class="usersettings noaddress" ><a id="settings"  href="javascript:"></a>
<ul style="width:120px;"><li class="messages"><a href="/messages" >Messages</a></li><li class="mypage"><a href="/pages" >My Page</a></li><li class="settings"><a href="/settings" >My Account</a></li><li class="noaddress signout"><a onclick="doPost('user.SignOut');return false;" >Sign Out</a></li></ul></li>

</ul>
</div>
<div id="workspaceWrapper">
<div id="workspace">
</div></div>
<div id="runScript"></div>
<div id="footer"><div style="text-align:center;padding-right:4px;padding-top:5px;margin:auto;width:900px;">&nbsp;&copy;2011 <a class="about" onclick="StaticContent.openAbout()">ESOcommerce</a> | <a class="about" onclick="StaticContent.openAbout()">About</a> | <a class="about" onclick="StaticContent.openAbout()">Feedback</a> | <a class="about" onclick="StaticContent.openAbout()">This Site Is Currently undergoing construction.</a> </div></div>
</div>
</body>
</html>